package com.fdb.efp.nls.service.dao;


import com.fdb.efp.nls.service.domain.LmtTerminateApp;
import com.fdb.efp.nls.service.vo.LmtTerminateAppVO;

import java.util.List;

/**
 * <p>DAO interface:额度终止申请表				<p>
 * @author ligm
 * @date 2019-08-10
 */
public interface LmtTerminateAppDao {
	
	public int insertLmtTerminateApp(LmtTerminateApp lmtTerminateApp);
	
	public int deleteByPk(LmtTerminateApp lmtTerminateApp);
	
	public int updateByPk(LmtTerminateApp lmtTerminateApp);
	
	public LmtTerminateApp queryByPk(LmtTerminateApp lmtTerminateApp);
	
	public List<LmtTerminateApp> queryAllOwnerByPage(LmtTerminateAppVO lmtTerminateApp);
	
	public List<LmtTerminateApp> queryAllCurrOrgByPage(LmtTerminateAppVO lmtTerminateApp);
	
	public List<LmtTerminateApp> queryAllCurrDownOrgByPage(LmtTerminateAppVO lmtTerminateApp);

	/*
	*   根据授信协议编号查询全表
	*   2019-08-20
	**/
	public List<LmtTerminateApp> queryAllByLmtContNo(LmtTerminateApp lmtTerminateApp);

	/**
	 * 查询记录
	 * 额度冻结调用查询审批中的授信协议
	 * @param lmtTerminateApp
	 * @return
	 */
	public List<LmtTerminateApp> querylmtTerminateByPk(LmtTerminateAppVO lmtTerminateAppVO);

	public List<LmtTerminateApp> queryAllByCoditionsByPage(LmtTerminateAppVO lmtTerminateAppVO);

	public List<LmtTerminateApp> queryAllCurrOwnerPrdByPage(LmtTerminateApp lmtTerminateApp);


}
